package kr.co.redcircle.broker.source;

import kr.co.redcircle.broker.io.BrokerRequest;
import kr.co.redcircle.broker.io.BrokerResponse;
import kr.co.redcircle.broker.io.IDefaultIO;

public class DefaultBrokerSource extends AbstractBrokerSource {

	public DefaultBrokerSource(IDefaultIO request) {
		super(request);
	}

	@Override
	public void preResponseSetup() {
	}

	@Override
	public void preRequestSetup() {
	}

	@Override
	public void executeSource() {
		
		BrokerRequest req = ((BrokerRequest)this.request);
		
		this.response = requestHandler.invoke(request.toString());

	}

	@Override
	public void setupPostProcessing() {
	}

}
